package cn.gov.pbc.gd.credit.common.constant;

public class CommonConstant {

	/**
	 * 用户资料
	 */
	public final static int FILE_SOURCE_TYPE_USER = 1; 
	
	/**
	 * 查询资料
	 */
	public final static int FILE_SOURCE_TYPE_QUERY = 2; 
	
	/**
	 * 非工作时间段keyword
	 */
	public final static String NON_WOKR_TIME = "NON_WOKR_TIME";
	
	public final static String CACHE_TREE_MENU = "CACHE_TREE_MENU";
	
	/**
	 * 认证方式：1-人脸识别,2-短信验证,3-指纹，4-密码
	 */
	public final static int AUTH_TYPE_FACE = 1;
	public final static int AUTH_TYPE_SMS = 2;
	public final static int AUTH_TYPE_FINGER = 3;
	public final static int AUTH_TYPE_PWD = 4;
	
	
	public final static String CACHE_LOGIN_PREFIX = "LOGIN_";
	
	public final static String CREDIT_USER_ONLINE = "CREDIT_USER_ONLINE";
	
	public final static String CACHE_SYS_CONF_KEY = "CREDIT_SYS_CONF";
	
	//0-新建用户，1-审批通过，2-审批失败，3-锁定，4-停用, 5-解锁待审批，6-启用待审批, 70-代理查询审批，71-司法查询，8-报警通知
	//9-加班申请
	
	public final static int NOTICE_TYPE_ADD_USER = 0;
	
	public final static int NOTICE_TYPE_APPLY_OK = 1;
	
	public final static int NOTICE_TYPE_APPLY_FAIL = 2;
	
	public final static int NOTICE_TYPE_LOCK = 3;
	
	public final static int NOTICE_TYPE_STOP = 4;
	
	public final static int NOTICE_TYPE_UNLOCK = 5;
	
	public final static int NOTICE_TYPE_UP = 6;
	
	public final static int NOTICE_TYPE_ANEGT_INQUIRY = 70;
	public final static int NOTICE_TYPE_JUSTICE_INQUIRY = 71;
	
	public final static int NOTICE_TYPE_WARN = 8;
	public final static int NOTICE_TYPE_ADD_WORK = 9;
	
	//inquiry_type 查询类型：1-个人查询，2-代理查询，3-司法查询
	public final static int INQUIRY_TYPE_PERSON = 1;
	public final static int INQUIRY_TYPE_AGENT = 2;
	public final static int INQUIRY_TYPE_JUSTICE = 3;
	
	//加班类型：1-全部，2-指定分支，3-指定部门，4-指定用户
	public final static int ADD_TYPE_ALL =  1;
	public final static int ADD_TYPE_CORP = 2;
	public final static int ADD_TYPE_DEPT = 3;
	public final static int ADD_TYPE_USER = 4;
	
	//角色类型：1-系统管理员，2-征信管理部门负责人，3-查询员, 4-分管征信行领导, 5-业务管理员
	
	public final static int ROLE_SYS_ADMIN =  1;
	public final static int ROLE_CRETIE_ADMIN = 2;
	public final static int ROLE_OPRTATOR = 3;
	public final static int ROLE_SUB_LEAD = 4;
	public final static int ROLE_BUSI_ADMIN = 4;
}
